package com.jhxx.mapper;

import com.jhxx.entity.UserIntegral;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Author chengxu
 * Date  2019-12-09
 */
@Mapper
public interface UserIntegralDao {

    public UserIntegral get(String id);

    public List<UserIntegral> findList(UserIntegral userIntegral);

    public List<UserIntegral> findAllList();

    public int insert(UserIntegral userIntegral);

    public int insertBatch(List<UserIntegral> userIntegrals);

    public int update(UserIntegral userIntegral);

    public int delete(UserIntegral userIntegral);

}